loadedExtensions
Type
function
Summary
Returns a list of the currently loaded extensions.
Syntax
the loadedExtensions
loadedExtensions()
Description
Use the loadedExtensions function to find out which extensions are loaded, in order to determine (for libraries) if its public handlers are available in the message path, or (for widgets) if it is available to create with the create widget command.
Each line of the list returned by the loadedExtensions function is the kind of the corresponding extension.
Examples
put the loadedExtensions
if "com.livecode.extensions.livecode.switchButton" is among the lines of the loadedExtensions then
create widget as "com.livecode.extensions.livecode.switchButton"
end if
Related
object: widget
property: kind
command: create widget, load extension, unload extension
glossary: function, return, LiveCode Builder extension, LiveCode Builder extension, command
keyword: line
Compatibility and Support
Introduced
LiveCode 8.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile